/*
 * @Author: your name
 * @Date: 2022-03-06 16:57:32
 * @LastEditTime: 2022-03-19 17:07:36
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \driving\src\app.module.ts
 */
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { UserModule } from './user/user.module';
import { AuthModule } from './auth/auth.module';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { JwtModule } from '@nestjs/jwt';
import { ArticleModule } from './article/article.module';
import { CategoryModule } from './category/category.module';
import { PracticeModule } from './practice/practice.module';
import { TraineesModule } from './trainees/trainees.module';
import { ScoreModule } from './score/score.module';
import { VehicleModule } from './vehicle/vehicle.module';
import { UsegeModule } from './usege/usege.module';

@Module({
  imports: [TypeOrmModule.forRoot(), UserModule,ConfigModule, AuthModule, ArticleModule, CategoryModule, PracticeModule, TraineesModule, ScoreModule, VehicleModule, UsegeModule],
  controllers: [AppController],
  providers: [AppService,ConfigService,JwtModule],
})
export class AppModule {}
